package com.social.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.social.dao.model.Friend;
import com.social.dao.model.FriendExample;

public interface FriendMapper {
	int countByExample(FriendExample example);

	int deleteByExample(FriendExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(Friend record);

	int insertSelective(Friend record);

	List<Friend> selectByExample(FriendExample example);

	Friend selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") Friend record,@Param("example") FriendExample example);

	int updateByExample(@Param("record") Friend record,@Param("example") FriendExample example);

	int updateByPrimaryKeySelective(Friend record);

	int updateByPrimaryKey(Friend record);

}
